package com.jn.exam.exam;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 江南大学1033190417
 * @date 2022/2/21 8:19
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@EnableAsync//开启异步调用
@ComponentScan(basePackages = {"com.jn.exam"})
@EnableScheduling//开启定时任务
public class ExamApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExamApplication.class,args);
    }
}
